package com.liliudong.pinkyponk.biz.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liliudong.pinkyponk.biz.sys.entity.SysOrg;

import java.util.List;

/**
 * SysOrgService
 *
 * @author liliudong
 * @date 2022-06-01 16:21
 **/
public interface SysOrgService extends IService<SysOrg> {

    /**
     * getOrgNosByRoleIds
     *
     * @param roleIds
     * @return
     */
    List<String> getOrgNosByRoleIds(List<Integer> roleIds);

    /**
     * userId
     *
     * @param userId
     * @return
     */
    List<String> getOrgNosByUserId(Long userId);

    /**
     * getAllOrgNos
     *
     * @return
     */
    List<String> getAllOrgNos();
}
